<%= form_for @feed.order_made_payment,
     :url => update_payment_order_url(@feed.order_made_payment),
     :remote => true,
     :method => :post,
     :html => {
       :class => :edit_feed_form
     } do |f|
 %>
<h6><b>修改-订做付款</b></h6>
<%= f.hidden_field :order_item_id%>
<dl>
  <dt>
    付款日期
  </dt>
  <dd>
    <%= f.text_field :payed_on, :class => :date %>
    <script>
      $('#order_made_payment_payed_on').datepicker({
        showButtonPanel: true
      });
    </script>
  </dd>
</dl>
<dl>
  <dt>
    金额
  </dt>
  <dd>
    <%= f.text_field :how_much%>
  </dd>
</dl>
<dl>
  <dt>
    备注
  </dt>
  <dd>
    <%= f.text_area :remark, :rows => 5%>
  </dd>
</dl>

<dl>
  <dd class="form_tool">
    <%= f.submit '保存' %>
    <%= link_to '返回', show_feed_order_url(@feed),:remote => true, :method => :get, :id => "edit_payment_btn#{@feed.id}", :class => 'button' %>
  </dd>
</dl>
<div class="clear"></div>
<%end%>